package movee.cluster;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 *
 *
 * @author movee
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class ClusterInfo {

    private ClusterNodeState state;
    private String leader;
    private String selfMemberId;
    private List<String> clusterMemberIds;

}
